package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-17
 */
@Data
@DbTable(tableName = "t_manhole_smell_record")
public class ManholeSmellRecord extends BaseEntity {
        /**
     * 设备Id
     */
    @DbTableField(columnName = "c_device_id", dbType = DbTypeEnum.INTEGER)
    public Integer deviceId ;

    /**
     * 设备号
     */
    @DbTableField(columnName = "c_device_code", dbType = DbTypeEnum.VARCHAR)
    public String deviceCode ;

    /**
     * 设备温度
     */
    @DbTableField(columnName = "c_temperature", dbType = DbTypeEnum.DOUBLE)
    public Double temperature ;

    /**
     * 设备剩余电量
     */
    @DbTableField(columnName = "c_device_power", dbType = DbTypeEnum.INTEGER)
    public Integer devicePower ;

    /**
     * 设备电压
     */
    @DbTableField(columnName = "c_device_voltage", dbType = DbTypeEnum.DOUBLE)
    public Double deviceVoltage ;

    /**
     * 湿度
     */
    @DbTableField(columnName = "c_humidity", dbType = DbTypeEnum.INTEGER)
    public Integer humidity ;

    /**
     * 有机气体
     */
    @DbTableField(columnName = "c_tvoc", dbType = DbTypeEnum.INTEGER)
    public Integer tvoc ;

    /**
     * 硫化氢气体
     */
    @DbTableField(columnName = "c_h2s", dbType = DbTypeEnum.DOUBLE)
    public Double h2s ;

    /**
     * 氨气
     */
    @DbTableField(columnName = "c_nh3", dbType = DbTypeEnum.INTEGER)
    public Integer nh3 ;

    /**
     * TVOC告警门限值
     */
    @DbTableField(columnName = "c_tvoc_threshold", dbType = DbTypeEnum.INTEGER)
    public Integer tvocThreshold ;

    /**
     * H2S告警门限值
     */
    @DbTableField(columnName = "c_h2s_threshold", dbType = DbTypeEnum.DOUBLE)
    public Double h2sThreshold ;

    /**
     * NH3告警门限值
     */
    @DbTableField(columnName = "c_nh3_threshold", dbType = DbTypeEnum.INTEGER)
    public Integer nh3Threshold ;


}
